package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账户详情对象 u_user_account_detail
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class UUserAccountDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 手机号 */
    private String userPhone;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long accountId;

    /** 币种名称 */
    @Excel(name = "币种名称")
    private String coinName;

    /** 变动金额 */
    @Excel(name = "变动金额")
    private BigDecimal amount;

    /** 变动类型 1+  2- */
    @Excel(name = "变动类型 1+  2-")
    private Integer changeType;

    /** 业务类型 1充值 2提现 3购买矿机 4矿机收益 5签到奖励 6内转转出 7内转转入 8闪兑 9守护者奖励  10 购买矿机返佣  */
    @Excel(name = "业务类型 1充值 2提现 3购买矿机 4矿机收益 5签到奖励 6内转转出 7内转转入 8闪兑 9守护者奖励  10 购买矿机返佣 ")
    private Integer businessType;

    /** 业务类型备注 */
    @Excel(name = "业务类型备注")
    private String businessRemark;

    /** 是否返回收益 针对矿机收益 */
    @Excel(name = "是否返回收益 针对矿机收益")
    private Integer isReturn;

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setCoinName(String coinName) 
    {
        this.coinName = coinName;
    }

    public String getCoinName() 
    {
        return coinName;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setChangeType(Integer changeType) 
    {
        this.changeType = changeType;
    }

    public Integer getChangeType() 
    {
        return changeType;
    }
    public void setBusinessType(Integer businessType) 
    {
        this.businessType = businessType;
    }

    public Integer getBusinessType() 
    {
        return businessType;
    }
    public void setBusinessRemark(String businessRemark) 
    {
        this.businessRemark = businessRemark;
    }

    public String getBusinessRemark() 
    {
        return businessRemark;
    }
    public void setIsReturn(Integer isReturn) 
    {
        this.isReturn = isReturn;
    }

    public Integer getIsReturn() 
    {
        return isReturn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("accountId", getAccountId())
            .append("coinName", getCoinName())
            .append("amount", getAmount())
            .append("changeType", getChangeType())
            .append("businessType", getBusinessType())
            .append("businessRemark", getBusinessRemark())
            .append("createTime", getCreateTime())
            .append("isReturn", getIsReturn())
            .append("remark", getRemark())
            .toString();
    }
}
